@import '../../styles/globals.less';

.index_cont {
  .container {
    width: @container_width;
    background-color: #F4F4F4;
    margin: 0 auto;

    .channel {
      margin-top: 20px;

      .channel_gird {
        position: relative;
        margin-bottom: 10px;

        .lt {
          width: 500px;
          position: relative;

        }

        .rt {
          position: absolute;
          left: 510px;
          right: 0;
          top: 0;
        }

        .channel_item {
          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }

        .channel_item_small {
          display: inline-block;
          width: 365px;
          height: 180px;
          margin-bottom: 10px;
          box-shadow: 0 0 1px 1px #ffffff;
          overflow: hidden;
          vertical-align: middle;

          &:nth-child(odd) {
            margin-right: 10px;
          }
        }

        .channel_item_big {
          height: 370px;
          width: 500px;
          margin-right: 10px;
        }
      }
    }

    .footer {
      .mod_service {
        padding: 30px 0;
        border-bottom: 1px solid #dedede;

        .mod_list {
          overflow: hidden;
          height: 42px;
          padding: 0 5px;

          .mod_service_item {
            float: left;
            width: 310px;

            .mod_service_unit {
              position: relative;
              margin: 0 auto;
              padding-left: 45px;
              width: 220px;

              .mod_service_tt {
                position: absolute;
                left: 0;
                top: 2px;
                width: 38px;
                height: 38px;
                font-size: 22px;
                border: 1px solid #c52525;
                text-align: center;
                vertical-align: middle;
                box-shadow: 0 0 5px 0 #c52525;
                border-radius: 19px;
                color: #ff0000;
                background-color: #fff;
              }

              .mod_service_txt {
                overflow: hidden;
                width: 100%;
                height: 42px;
                line-height: 42px;
                font-size: 18px;
                font-weight: 700;
                text-overflow: ellipsis;
                white-space: nowrap;
                color: #444;
              }
            }
          }
        }
      }

      .relation {
        padding: 60px 0;
        position: relative;
        overflow: hidden;

        .lt {
          width: 500px;
          position: relative;
          display: table-cell;

          .cont {
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
          }

          .zs {
            font-size: 14px;
            color: #444;
            line-height: 22px;
            margin: 0;
          }

          .txt {
            font-size: 38px;
            color: #333333;
            font-weight: 700;
            line-height: 50px;
            letter-spacing: 2px;

            span {
              font-size: 14px;
              color: #666766;
            }
          }
        }

        .rt {
          display: table-cell;

          .zs {
            font-size: 14px;
            color: #444;
            line-height: 22px;
          }

          .relation_list {
            padding: 15px 0;

            .relation_list_item {
              display: inline-block;
              padding-left: 100px;
              text-align: center;
              background-color: #fff;
              width: 242px;
              height: 90px;
              line-height: 90px;
              margin: 0 12px 12px 0;
              font-size: 22px;
              color: #111;
              position: relative;

              &:nth-child(3n) {
                margin-right: 0px;
              }

              h5 {
                position: absolute;
                left: 0;
                top: 0;
                width: 90px;
                height: 90px;
                margin: 0;

                &.react {
                  background: url(/image/relate/react.png) no-repeat;
                  background-size: 64px 64px;
                  background-position: 13px 13px;
                  background-color: rgba(0, 0, 0, .8);
                }

                &.vue {
                  background: url(/image/relate/Vue.png) no-repeat;
                  background-size: 64px 64px;
                  background-position: 13px 13px;
                  background-color: rgba(0, 0, 0, .8);
                }

                &.bootstrap {
                  background: url(/image/relate/Bootstrap.png) no-repeat;
                  background-size: 64px 64px;
                  background-position: 13px 13px;
                  background-color: rgba(0, 0, 0, .8);
                }
              }

            }
          }
        }
      }
    }
  }
}